﻿#if !WINDOWS_PHONE
using Ops.Mpc.States;
using System;
using Ops.Mpc.Events;



namespace Ops.Mpc.Models
{
    /// <summary>
    ///  Get a page action is called by a <see cref="Ops.Mpc.Models.PagerModel<T>">pager model</see> to get the current page of items/>
    /// </summary>
    public class GetPageAction : AsyncAction
    {
        protected override void OnExecute(object context)
        {
            base.OnExecute(context);

            this.OnExecute(context as PagerEventArgs);
        }

        protected virtual void OnExecute(PagerEventArgs pagerEventArgs)
        {
           // this.Finish();
        }
    }
}

#endif